package com.ccc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @description: SpringBoot的启动类
 * jar包的方式启动应用 → 执行jar包其实就是运行里面的main方法
 * @autyor:caicaicai
 */

@SpringBootApplication
@MapperScan("com.ccc.mapper")//mapper接口的扫描包
public class Demo1AppLication {
    public static void main(String[] args) {
        SpringApplication.run(Demo1AppLication.class, args);
    }
}
